QT -= gui
QT += xml

TEMPLATE = lib
DEFINES += CLCOMLIBRARYS_LIBRARY

CONFIG += c++11

# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    CLComAttribute/CAttribute.cpp \
    CLComChain/CChainItem.cpp \
    CLComChain/CLComChain.cpp \
    CLComCommand/CCommand.cpp \
    CLComCommand/CCommandFactory.cpp \
    CLComCommand/CStrCommandCenter.cpp \
    CLComCommand/CStrCommandObserver.cpp \
    CLComCommand/IStrCommandCenter.cpp \
    CLComCommand/clcomcommand.cpp \
    CLComConfigFile/CLComConfigFileImpl.cpp \
    CLComConfigFile/FileChange.cpp \
    CLComConfigFile/clcomconfigfile.cpp \
    CLComDataFile/CDataFile.cpp \
    CLComFileParse/CADFile.cpp \
    CLComFileParse/FileManageCenter.cpp \
    CLComFileParse/PNG.cpp \
    CLComFileParse/ParseXMLConfigFile.cpp \
    CLComFileParse/SelfFormartFile.cpp \
    CLComFileParse/clcomfileparser.cpp \
    CLComFuncs/clcomfuncs.cpp \
    CLComIDFactory/clcomidfactory.cpp \
    CLComList/CLComList.cpp \
    CLComList/CListItem.cpp \
    CLComLog/RealLogEx.cpp \
    CLComLog/clcomlog.cpp \
    CLComMap/clcommap.cpp \
    CLComNotify/CRealNotify.cpp \
    CLComNotify/clcomnotify.cpp \
    CLComObject/CLocalObject.cpp \
    CLComRecord/CCanRecordInfobase.cpp \
    CLComRecord/CLComRecord.cpp \
    CLComRecord/CRecord.cpp \
    CLComRecord/CRecordInfo.cpp \
    CLComRecord/CRecordItem.cpp \
    CLComSequence/CLComSequence.cpp \
    CLComString/CLComString.cpp \
    CLComTicks/CLComTicks.cpp \
    CLComTicks/RealTimcsEx.cpp \
    CLComTime/CLComTime.cpp \
    CLComTimer/CLComTimer.cpp \
    CLComTimer/CTimer.cpp \
    CLComTimer/CTimerFactory.cpp \
    CLComValue/CLComValueItem.cpp \
    clcomlibrarys.cpp \
    irecordower.cpp

HEADERS += \
    CAttribute.h \
    CCanRecordInfobase.h \
    CChainItem.h \
    CDataFile.h \
    CLComChain.h \
    CLComCommand/CCommand.h \
    CLComCommand/CStrCommandCenter.h \
    CLComConfigFile/CLComConfigFileImpl.h \
    CLComConfigFile/FileChange.h \
    CLComFileParse/CADFile.h \
    CLComFileParse/FileManageCenter.h \
    CLComFileParse/ParseXMLConfigFile.h \
    CLComFileParse/SelfFormartFile.h \
    CLComFileParse/png.h \
    CLComLibrarys_global.h \
    CLComList.h \
    CLComLog/RealLogEx.h \
    CLComMacro.h \
    CLComNotify/CRealNotify.h \
    CLComRecord.h \
    CLComRecord/CRecord.h \
    CLComRecord/CRecordInfo.h \
    CLComSequence.h \
    CLComString.h \
    CLComTicks.h \
    CLComTicks/RealTimcsEx.h \
    CLComTime.h \
    CLComTime/CLComTime.h \
    CLComTimer.h \
    CLComTimer/CTimer.h \
    CLComTimer/CTimerFactory.h \
    CLComValue.h \
    CListItem.h \
    CLocalObject.h \
    CRecordItem.h \
    clcomcommand.h \
    clcomconfigfile.h \
    clcomfileparser.h \
    clcomfuncs.h \
    clcomidfactory.h \
    clcomlibrarys.h \
    clcomlog.h \
    clcommap.h \
    clcomnotify.h \
    irecordower.h

# Default rules for deployment.
unix {
    target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target
